<form class="form-horizontal form-main" action="" method="post" >
	<div class="control-group">
		<h2 class="form-signin-heading">Đổi mật khẩu</h2>
	</div>
	<?php if(isset($message) and $message){?>
	<div class="alert alert-error" style="text-align: center;">
	<?php echo $message;?>
	</div>
	<?php } ?>
	<?php echo validation_errors('<div class="alert alert-error" style="text-align: center;">','</div>') ?>
	<div class="control-group <?php if(form_error('password')) echo ' error';?>">
		<label class="control-label">Mật khẩu hiện tại</label>
		<div class="controls">
			<input type="password" name="password" value="" maxlength="30">
		</div>
	</div>
	<div class="control-group <?php if(form_error('pass1')) echo ' error';?>">
		<label class="control-label">Mật khẩu mới</label>
		<div class="controls">
			<input type="password" name="pass1" value="" maxlength="30">
		</div>
	</div>
	<div class="control-group <?php if(form_error('pass2')) echo ' error';?>">
		<label class="control-label">Xác nhận mật khẩu mới</label>
		<div class="controls">
			<input type="password" name="pass2" value="" maxlength="30">
		</div>
	</div>
	<div class="control-group">
		<div class="controls">
			<button name="save" value="1" type="submit" class="btn">Lưu lại</button>
			<button name="cancel" value="1" type="submit" class="btn">Không lưu</button>
		</div>
	</div>
</form>
